﻿using System;
namespace YXShop.Model.Shop
{
    /// <summary>
    /// 店铺类别
    /// </summary>
    [Serializable]
    public class ShopCategory
    {
        public ShopCategory()
        {
        }

        #region Model
        private int id;
        private string name;
        private int? pid;
        private string path;
        private int sort;
        private int? isuse;
        private DateTime? adddate;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int ID
        {
            set { id = value; }
            get { return id; }
        }
        /// <summary>
        /// 店铺类别名字
        /// </summary>
        public string Name
        {
            set { name = value; }
            get { return name; }
        }
        /// <summary>
        /// 父类ID
        /// </summary>
        public int? Pid
        {
            set { pid = value; }
            get { return pid; }
        }
        /// <summary>
        /// 路径
        /// </summary>
        public string Path
        {
            set { path = value; }
            get { return path; }
        }
        /// <summary>
        /// 排序字段
        /// </summary>
        public int Sort
        {
            set { sort = value; }
            get { return sort; }
        }
        /// <summary>
        /// 是否使用
        /// </summary>
        public int? IsUse
        {
            set { isuse = value; }
            get { return isuse; }
        }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? AddDate
        {
            set { adddate = value; }
            get { return adddate; }
        }
        #endregion Model
    }
}
